<?php
/**
 * WWW首页
 * @author wsfuyibing <websearch@163.com>
 * @date 2014-08-25
 *
 * @link http://www.example.com/
 */
class UserController extends BaseController{
	public  $layout = 'user';
	public function actionIndex(){
		$this->redirect('/user/login');
	}
	
	public function actionLogin(){
		$this->render('login');
	}
	public function actionRegister(){
		$this->render('register');
	}
}